package org.de.maeyer.unit;

/**
 * @author Peter De Maeyer
 */
public class NamedUnit extends NonMultiplyingUnit {

	private final String name;

	private final String symbol;

	public NamedUnit(String name, String symbol) {
		this.name = name;
		this.symbol = symbol;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public String getSymbol() {
		return symbol;
	}
}